package com.dt.global.entitys.bo;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TWebCoreChannel entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "T_WEB_CORE_CHANNEL")
public class TWebCoreChannel implements java.io.Serializable {

	// Fields

	private String channelId;
	private String title;
	private String parent;
	private String name;
	private String titleImg;
	private String contentImg;
	private String description;
	private Long docCount;
	private Long visitTotal;
	private Long visitToday;
	private String statDate;
	private Integer priority;
	private String hasTitleimg;
	private String hasChild;
	private String isDisplay;
	private String nid;
	private String pid;
	private Integer nodeLevel;
	private String picName;
	private String accessChannel;
	private String yl1;
	private String yl2;
	private String orderdate;

	// Constructors

	/** default constructor */
	public TWebCoreChannel() {
	}

	/** minimal constructor */
	public TWebCoreChannel(String channelId) {
		this.channelId = channelId;
	}

	/** full constructor */
	public TWebCoreChannel(String channelId, String title, String parent, String name, String titleImg, String contentImg,
	    String description, Long docCount, Long visitTotal, Long visitToday, String statDate, Integer priority, String hasTitleimg,
	    String hasChild, String isDisplay, String nid, String pid, Integer nodeLevel, String picName, String accessChannel,
	    String yl1, String yl2, String orderdate) {
		this.channelId = channelId;
		this.title = title;
		this.parent = parent;
		this.name = name;
		this.titleImg = titleImg;
		this.contentImg = contentImg;
		this.description = description;
		this.docCount = docCount;
		this.visitTotal = visitTotal;
		this.visitToday = visitToday;
		this.statDate = statDate;
		this.priority = priority;
		this.hasTitleimg = hasTitleimg;
		this.hasChild = hasChild;
		this.isDisplay = isDisplay;
		this.nid = nid;
		this.pid = pid;
		this.nodeLevel = nodeLevel;
		this.picName = picName;
		this.accessChannel = accessChannel;
		this.yl1 = yl1;
		this.yl2 = yl2;
		this.orderdate = orderdate;
	}

	// Property accessors
	@Id
	@Column(name = "CHANNEL_ID", unique = true, nullable = false, length = 50)
	public String getChannelId() {
		return this.channelId;
	}

	public void setChannelId(String channelId) {
		this.channelId = channelId;
	}

	@Column(name = "TITLE", length = 500)
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	@Column(name = "PARENT", length = 100)
	public String getParent() {
		return this.parent;
	}

	public void setParent(String parent) {
		this.parent = parent;
	}

	@Column(name = "NAME", length = 100)
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "TITLE_IMG")
	public String getTitleImg() {
		return this.titleImg;
	}

	public void setTitleImg(String titleImg) {
		this.titleImg = titleImg;
	}

	@Column(name = "CONTENT_IMG")
	public String getContentImg() {
		return this.contentImg;
	}

	public void setContentImg(String contentImg) {
		this.contentImg = contentImg;
	}

	@Column(name = "DESCRIPTION", length = 500)
	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Column(name = "DOC_COUNT")
	public Long getDocCount() {
		return this.docCount;
	}

	public void setDocCount(Long docCount) {
		this.docCount = docCount;
	}

	@Column(name = "VISIT_TOTAL")
	public Long getVisitTotal() {
		return this.visitTotal;
	}

	public void setVisitTotal(Long visitTotal) {
		this.visitTotal = visitTotal;
	}

	@Column(name = "VISIT_TODAY")
	public Long getVisitToday() {
		return this.visitToday;
	}

	public void setVisitToday(Long visitToday) {
		this.visitToday = visitToday;
	}

	@Column(name = "STAT_DATE", length = 30)
	public String getStatDate() {
		return this.statDate;
	}

	public void setStatDate(String statDate) {
		this.statDate = statDate;
	}

	@Column(name = "PRIORITY")
	public Integer getPriority() {
		return this.priority;
	}

	public void setPriority(Integer priority) {
		this.priority = priority;
	}

	@Column(name = "HAS_TITLEIMG", length = 1)
	public String getHasTitleimg() {
		return this.hasTitleimg;
	}

	public void setHasTitleimg(String hasTitleimg) {
		this.hasTitleimg = hasTitleimg;
	}

	@Column(name = "HAS_CHILD", length = 1)
	public String getHasChild() {
		return this.hasChild;
	}

	public void setHasChild(String hasChild) {
		this.hasChild = hasChild;
	}

	@Column(name = "IS_DISPLAY", length = 1)
	public String getIsDisplay() {
		return this.isDisplay;
	}

	public void setIsDisplay(String isDisplay) {
		this.isDisplay = isDisplay;
	}

	@Column(name = "NID", length = 50)
	public String getNid() {
		return this.nid;
	}

	public void setNid(String nid) {
		this.nid = nid;
	}

	@Column(name = "PID", length = 50)
	public String getPid() {
		return this.pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	@Column(name = "NODE_LEVEL")
	public Integer getNodeLevel() {
		return this.nodeLevel;
	}

	public void setNodeLevel(Integer nodeLevel) {
		this.nodeLevel = nodeLevel;
	}

	@Column(name = "PIC_NAME")
	public String getPicName() {
		return this.picName;
	}

	public void setPicName(String picName) {
		this.picName = picName;
	}

	@Column(name = "ACCESS_CHANNEL", length = 50)
	public String getAccessChannel() {
		return this.accessChannel;
	}

	public void setAccessChannel(String accessChannel) {
		this.accessChannel = accessChannel;
	}

	@Column(name = "YL1", length = 50)
	public String getYl1() {
		return this.yl1;
	}

	public void setYl1(String yl1) {
		this.yl1 = yl1;
	}

	@Column(name = "YL2", length = 50)
	public String getYl2() {
		return this.yl2;
	}

	public void setYl2(String yl2) {
		this.yl2 = yl2;
	}

	@Column(name = "ORDER_DATE", length = 50)
	public String getorderdate() {
		return this.orderdate;
	}

	public void setorderdate(String orderdate) {
		this.orderdate = orderdate;
	}

}